<link rel="stylesheet" href="../src/css/pages/font.css">
<div class="fmp-container">
    <div class="container-fluid">
        <div class="row" id="search-area" style="padding-bottom: 12px;margin-top: 20px;">
            <div class="col-sm-2 no-margin">
                <a href="javascript:void(0)" class="btn btn-primary btn-sm" id="add-font-btn">
                    <i class="icon-search"></i> {{i18n-addFont}}
                </a>
            </div>
        </div>
        <div class="font-table">
            <!--列表：开始-->
            <table class="smart-form" list-manager="fontList">
                <thead>
                <tr>
                    <th width="55" th-name="order">{{i18n-order}}</th>
                    <th th-name="fontName">{{i18n-fontName}}</th>
                    <th th-name="fontWeight">{{i18n-fontWeight}}</th>
                    <th th-name="previewImg">{{i18n-fontPreview}}</th>
                    <th th-name="fontUrl">{{i18n-fontFile}}</th>
                    <th th-name="createTime">{{i18n-createTime}}</th>
                </tr>
                </thead>
                <tbody id="font-grid">
                </tbody>
            </table>
            <!--列表：结束-->
        </div>
    </div>
</div>
<!--添加font弹出框：开始-->
<div class="modal fade dialog-add-font" role="dialog">
    <div class="modal-dialog modal-md" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">{{i18n-addFont}}</h4>
            </div>
            <form>
            <div class="modal-body">
                <div>
                    <label>{{i18n-fileUpload}}</label>
                    <div class="c-select-container" style="margin-left:10px;">
                        <input type="file" id="fontFile" name="fontFile" value="{{i18n-pleaseSelectFile}}" accept=".ttf,.ttc,.TTF,.TTC" style="border:0px;height:32px;" />
                    </div>
                </div>
                <div class="mt-15">
                    <label>{{i18n-fontName}}</label>
                    <input class="feedInput fontName" />
                </div>
                <div class="mt-15">
                    <label>{{i18n-fontWeight}}</label>
                    <div class="c-select-container">
                        <div class="ndp-drop-wrapper" name="fontweight-drop" style="width:120px;"></div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" save>{{i18n-save}}</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">{{i18n-cancel}}</button>
            </div>
            </form>
        </div>
    </div>
</div>
<!--添加font弹出框：结束-->
